#include <PropertyEditorWindow.h>

PropertyEditorWindow::PropertyEditorWindow( QWidget *parent /*= 0*/ ): WindowBase(parent)
{
	m_propertyEditor = new PropertyEditor(this);
	setCentralWidget(m_propertyEditor->getTreePropertyBrowser());
	setWindowTitle("Property Editor");

    getWindowShowHideAction()->setText("Property Editor");
    getWindowShowHideAction()->setChecked(true);
    getDockWidget()->setWindowTitle("Property Editor");

}

PropertyEditorWindow::~PropertyEditorWindow()
{

}

Qt::DockWidgetArea PropertyEditorWindow::dockWidgetArea()
{
	return Qt::DockWidgetArea::RightDockWidgetArea;
}

PropertyEditor* PropertyEditorWindow::getPropertyEditor()
{
	return m_propertyEditor;
}
